/**
 * Copyright (C), 2015-2020, XXX有限公司
 * FileName: WeiUser
 * Author:   zmjha
 * Date:     2020/8/1 16:35
 * Description: 表格文件对应的实体类
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.zmj.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;

import java.io.Serializable;

/**
 * 〈一句话功能简述〉<br> 
 * 〈表格文件对应的实体类〉
 *
 * @author zmjha
 * @create 2020/8/1
 * @since 1.0.0
 */
public class WeiUser implements Serializable {

    private Integer id;

    @Excel(name = "id", orderNum = "0")
    private String eid;

    @Excel(name = "openid", orderNum = "1")
    private String openid;

    @Excel(name = "nickname", orderNum = "2")
    private String nickname;

    @Excel(name = "sex" ,orderNum = "3")
    private Integer sex;

    @Excel(name = "city", orderNum = "4")
    private  String city;

    @Excel(name = "country" ,orderNum = "5")
    private String country;

    @Excel(name = "province",orderNum = "6")
    private String province;

    @Excel(name = "headimgurl" ,orderNum = "7")
    private String headimgurl;

    @Excel(name = "subscribe" ,orderNum = "8")
    private Integer subscribe;

    @Excel(name = "language" ,orderNum = "9")
    private  String language;

    @Excel(name = "remark" ,orderNum = "10")
    private String remark;

    public WeiUser() {
    }

    public WeiUser(Integer id, String eid, String openid, String nickname, Integer sex, String city, String country, String province, String headimgurl, Integer subscribe, String language, String remark) {
        this.id = id;
        this.eid = eid;
        this.openid = openid;
        this.nickname = nickname;
        this.sex = sex;
        this.city = city;
        this.country = country;
        this.province = province;
        this.headimgurl = headimgurl;
        this.subscribe = subscribe;
        this.language = language;
        this.remark = remark;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEid() {
        return eid;
    }

    public void setEid(String eid) {
        this.eid = eid;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getHeadimgurl() {
        return headimgurl;
    }

    public void setHeadimgurl(String headimgurl) {
        this.headimgurl = headimgurl;
    }

    public Integer getSubscribe() {
        return subscribe;
    }

    public void setSubscribe(Integer subscribe) {
        this.subscribe = subscribe;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"id\":")
                .append(id);
        sb.append(",\"eid\":\"")
                .append(eid).append('\"');
        sb.append(",\"openid\":\"")
                .append(openid).append('\"');
        sb.append(",\"nickname\":\"")
                .append(nickname).append('\"');
        sb.append(",\"sex\":")
                .append(sex);
        sb.append(",\"city\":\"")
                .append(city).append('\"');
        sb.append(",\"country\":\"")
                .append(country).append('\"');
        sb.append(",\"province\":\"")
                .append(province).append('\"');
        sb.append(",\"headimgurl\":\"")
                .append(headimgurl).append('\"');
        sb.append(",\"subscribe\":")
                .append(subscribe);
        sb.append(",\"language\":\"")
                .append(language).append('\"');
        sb.append(",\"remark\":\"")
                .append(remark).append('\"');
        sb.append('}');
        return sb.toString();
    }
}